<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="lrsux" uri="http://lrsux.nxnkc.com" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>系统后台管理</title>
	<link type="text/css" rel="stylesheet" href="common/css/content.css" />
	<style>
		html,body{position:relative; color:#1577ca;}
		body{ background:#ffffff url(common/images/signup/bg_admin_login_body.jpg) repeat-x;}
		.admin_login_top{width:893px; height:268px; margin:0 auto; background-image:url(common/images/signup/bg_admin_login_wrapage.jpg); position:relative;}
		#btn_submit{cursor:pointer;}
		#random{cursor:pointer;}
	</style>
	
	<lrsux:Resource name="lrsux" />
	
	<script type="text/javascript">
         $(function(){
         	$('#kaptchaImage').click(function () {
				$(this).hide().attr('src', 'security/login!captchaImage.action?' + Math.floor(Math.random()*100) ).fadeIn(); 
            });
         	
    		$("#btn_submit").click(function(){
    			$("#loginForm").submit();
    		});	
    		
    		$(document).keypress(function(e){
    			if(e.keyCode == 13){
    				$("#loginForm").submit();
    			}
    		 })
         	
         	
         });
    </script>
</head>
<body>
<div class="admin_login_top"></div>

<div class="admin_login_main">
 	<form id="loginForm" action="security/login!login.action" method="post">
	     <table width="600" height="95" border="000" align="center" cellpadding="0" cellspacing="0">
		    <tr>
		      <td width="278" rowspan="6"><img src="common/images/signup/admin_login_logo.jpg" width="278" height="72" /></td>
		      <td width="8" rowspan="6"><img src="common/images/signup/admin_login_fengge.jpg" width="8" height="224" /></td>
		      <td colspan="3"><p>&nbsp;</p></td>
		    </tr>
		    <tr>
		      <td width="60" align="center">用户名</td>
		      <td colspan="2"><input style="width:140px;" type="text" name="user.username" value="superadmin" class="required" /></td>
		      </tr>
		    <tr>
		      <td align="center">密　码</td>
		      <td ><input style="width:140px;" type='password' name='user.password' value="123456" class="required" /></td>
		      <td ><a href='security/login!sendMail.action'>找回密码？</a></td>
		    </tr>
		    <tr>
		      <td align="center">验证码</td>
		      <td colspan="2">
		      	<input style="width:70px;" type="text" id="kaptcha" name="kaptcha" class="required"/>
		      	<img id="kaptchaImage" src="security/login!captchaImage.action" width="55" height="20" alt="换一个" />
		      </td>
		    </tr>
		    <tr>
		      <td colspan="3"><table width="100%" border="000" cellspacing="0" cellpadding="0">
		        <tr>
		          <td width="49%" align="center"><input type="checkbox" name="rememberMe"/>两周内记住我</td>
		          <td width="51%" align="left"><a href="#"><img id="btn_submit" src="common/images/signup/btn_admin_login.jpg" width="55" height="21" border="0" /></a></td>
		        </tr>
		      </table></td>
		    </tr>
		    <tr>
		      <td colspan="3"><p><a href="#"></a><a href="#"></a></p>
		      <p>&nbsp;</p></td>
		    </tr>
		  </table>
			   
	</form>
</div>

<div style="width:150px; margin:0 auto;">
	<span style="color:red">${message}</span>
</div>

<br clear="left" />
<p><a href='index.jsp'>Home</a></p>
<p><a href='test/testAdmin.jsp'>Self Layout</a></p>
<p><a href='test/login.action?user.username=superadmin&user.password=123456'>DWZ</a></p>
</body>
</html>




